﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta content="target-densitydpi=320,width=750,user-scalable=no" name="viewport" />
    <meta content="no" name="apple-touch-fullscreen" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />

    <title>幸运28</title>
    <link href="css/css.css" rel="stylesheet" type="text/css">
<link href="css/red.css" rel="stylesheet" type="text/css"><script src="js/jquery.1.8.2.min.js"></script><script src="js/style.js"></script>    <!--<link href="css/css.css" rel="stylesheet" type="text/css">-->
    <!--<script src="js/jquery.1.8.2.min.js"></script>-->
    <script type="text/javascript" src="js/yxmobileslider.js"></script>
    <!--<script src="js/style.js"></script>-->
    <script src="js/layer.js"></script>

</head>

<body>
<!--<script type="text/javascript">-->
    <!--$(function(){-->
        <!--var u = navigator.userAgent, app = navigator.appVersion;-->
<!--//        var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //android终端或者uc浏览器-->
        <!--var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端-->
        <!--if(isiOS){-->
            <!--$("#download").attr("href",'itms-services://?action=download-manifest&url=https://www.kagah.com/download/pcdd001.plist');-->
        <!--}else{-->
            <!--$("#download").attr("href",'http://www.kagah.com/download/apk/pcdd/pcdd.apk');-->
        <!--}-->
        <!--$(".head-close").on("click", function(){-->
            <!--$(this).parent().hide(100);-->
            <!--$("section").css("padding-top","88px");-->
        <!--})-->
    <!--})-->

<!--</script>-->
<div class="header_wrap">
    <header style="position: inherit; top: auto;">
        <em onclick="javascript :history.go(-1);"></em>
        <h1></h1>
    </header>
</div>

<section style="padding:86px 0 0 0;">
    <div class="subWarp">

        <div class="sub_lottery">
            <ul>
                                <li class="primary" lottery-type="1" status="0" data-room="" room_id="1" lower="0" upper="2000000" odds-exp="1.大小单双赔率2倍
2.组合(小单|大双)4.6倍；
3.组合（小双|大单）4.2倍;
4.开13/14,总注小于等于10000时,大小单双赔率1.5倍,组合赔率1倍。
5.开13/14,总注大于10000时,大小单双赔率1倍,组合赔率1倍。
以上赔率均含本金。

回水说明 ：
当日亏损100-5000         回水1%
当日亏损5001-50000     回水2%
当日亏损50001-无上限   回水3%

回水限制：大小单双 四种玩法的投注额度超过投注总额的75%，则不享受此优惠" error-msg="">
                    <img src="picture/20180109120735359.png" alt=""/>
                    <span data-href="" class="explain_odds">赔率说明</span>
                    <span class="population">
                                                <i class="population_ico"></i><em class="primary_onlinenum">1337</em>人
                                            </span>
                </li>
                                <li class="primary" lottery-type="1" status="0" data-room="" room_id="4" lower="0" upper="2000000" odds-exp="1.开13/14，总注小于等于10000时，大小单双赔率1.6倍；
2.开13/14，总注大于10000时，大小单双赔率1倍；
3.开13/14，组合吃下注金额；
4.大小单双赔率2.0倍；
5.组合（小单|大双）5.0倍；
6.组合（小双|大单）4.2倍；
7.以上赔率均含本金

回水说明
当天亏损1-10000以内           回水3%
当天亏损10001-100000       回水5%
当天亏损100000以上             回水7%

回水限制：大小单双 四种玩法的投注额度超过投注总额的75%，则不享受此优惠" error-msg="">
                    <img src="picture/20180109122237251.png" alt=""/>
                    <span data-href="" class="explain_odds">赔率说明</span>
                    <span class="population">
                                                <i class="population_ico"></i><em class="primary_onlinenum">694</em>人
                                            </span>
                </li>
                                <li class="primary" lottery-type="1" status="0" data-room="" room_id="7" lower="0" upper="100000000" odds-exp="1.大小单双赔率2倍
2.组合(小单|大双)4.0倍；
3.组合（小双|大单）4.1倍;
4.开13/14,总注小于等于10000时,大小单双赔率1.85倍,组合赔率2.5倍。
5.开13/14,总注大于10000时,大小单双赔率1倍,组合赔率1倍。
以上赔率均含本金。
回水说明 ：
当日亏损99-3000      回水 5%
当日亏损3001-5000    回水 8%
当日亏损5001-10000   回水 10%
当日亏损10001-50000  回水 12%
当日亏损50001-500000 回水 15%
当日亏损500001以上   回水 18%

回水限制：大小单双 四种玩法的投注额度超过投注总额的75%，则不享受此优惠" error-msg="">
                    <img src="picture/20180109121352401.png" alt=""/>
                    <span data-href="" class="explain_odds">赔率说明</span>
                    <span class="population">
                                                <i class="population_ico"></i><em class="primary_onlinenum">521</em>人
                                            </span>
                </li>
                                <!--<li class="primary">-->
                    <!--<img src="picture/lucky28_room1_pic@2x.png" alt=""/>-->
                    <!--<span data-href="" class="explain_odds">赔率说明</span>-->
                    <!--<span class="population">-->
                        <!--<i class="population_ico"></i><em class="primary_onlinenum">889</em>人-->
                    <!--</span>-->
                <!--</li>-->
                <!--<li class="Intermediate">-->
                    <!--<img src="picture/lucky28_room2_pic@2x.png" alt=""/>-->
                    <!--<span data-href="" class="explain_odds">赔率说明</span>-->
                    <!--<span class="population">-->
                        <!--<i class="population_ico"></i><em class="Intermediate_onlinenum">889</em>人-->
                    <!--</span>-->
                <!--</li>-->
                <!--<li class="advanced">-->
                    <!--<img src="picture/lucky28_room3_pic@2x.png" alt=""/>-->
                    <!--<span data-href="" class="explain_odds">赔率说明</span>-->
                    <!--<span class="population">-->
                        <!--<i class="population_ico"></i><em class="advanced_onlinenum">889</em>人-->
                    <!--</span>-->
                <!--</li>-->
                <!--<li class="privacy">-->
                    <!--<img src="picture/lucky28_room4_pic@2x.png" alt=""/>-->
                    <!--<span data-href="" class="explain_odds">赔率说明</span>-->
                    <!--<span class="population">-->
                        <!--<i class="population_ico"></i><em class="privacy_onlinenum">889</em>人-->
                    <!--</span>-->
                <!--</li>-->
            </ul>
        </div>
    </div>
</section>

<div class="popup" style="display: none">
    <div class="config">
        <h3>请输入房间暗号</h3>
        <i class="configClose"></i>
        <div class="configInput"><input type="password" placeholder="" name="secret_pwd" autocomplete="off"></div>
        <div class="button " style="margin-top: 30px;"><button class="secret_btn" id="secretBtn">提交</button></div>
    </div>
</div>

    <script type="text/javascript">
        $(".explain_odds").on("click", function(){
            if($(this).parent().attr("data-room") == ""){
                var msg = $(this).parent().attr('odds-exp').replace(/\n|\r\n/g,'<br/>');
            }else{
                var msg = '私密房赔率说明请在进入房间后查看';
            }

            var alert ='<div class="popupAlert"><div class="config-alert"><div class="tit">赔率说明</div> <p>'+msg+'</p><div class="btn"><button class="confirm">确定</button></div></div></div>';
            var p = $(alert).appendTo($('body'));

            p.find('.confirm').off().on('click', function () {
                p.remove();
            });
            return false
        })
    </script>

    <script type="text/javascript">
        var flag = "96064";
        var money = "2000";
        var lottery_type;

        $(function() {
            //检验是否有权限进入
            $(".sub_lottery ul li").click(function() {
                var status = $(this).attr("status");
                var lower = $(this).attr("lower");
                var upper = $(this).attr("upper");
                var room_id = $(this).attr("room_id");
                var error_msg = $(this).attr("error-msg");
                lottery_type = $(this).attr("lottery-type");

                if (flag === "") {
                    window.location.href = "https://www-pc77.com/?m=web&c=user&a=login";
                }else{
                    if ($(this).attr("data-room") === "Private") {
                        return true;
                    }

                    //判断房间是否关闭
                    if (status == 1) {
                        fnSet.alert("此房间暂时关闭");
                        return true;
                    }

                    //判断是否达到进入资格
//                    if("" == "") {
//                        if(){
//                              window.location.href = "https://www-pc77.com/?m=web&c=user&a=login";
//                        }else {
//                            layer.open({
//                                content: "<p class='alert_msg'>请前往设置昵称</p>",
//                                btn: '我知道了'
//                            });
//                        }
//                        return false;
//                    }

                    if ((lower !=0 || upper !=0) && (parseFloat(money) < parseFloat(lower) || parseFloat(money) >= parseFloat(upper))) {
                        fnSet.alert(error_msg);

                    } else {
                        //window.location.href = "https://www-pc77.com/?m=web&c=chatRoom&a=index&room_id=" + room_id + "&lottery_type=" + lottery_type;
                        var odds_exp =$(this).attr('odds-exp').replace(/\n|\r\n/g,'<br/>')//赔率说明
                        localStorage.setItem("odds_exp",odds_exp);
                        window.location.href = "https://www-pc77.com/?m=web&c=chatRoom&a=index&room_id=" + room_id;

                    }
                }
            });

            $("li[data-room=Private]").click(function() {
                $(".popup").css("display", "block");
            });

            //私密房间校验
            $("#secretBtn").click(function() {
                var secret_pwd = $("input[name=secret_pwd]").val();
                $.ajax({
                    url: "https://www-pc77.com/?m=web&c=lobby&a=privateRoom",
                    type: "post",
                    data: {secret_pwd: secret_pwd, lottery_type: lottery_type},
                    dataType: "json",
                    success: function(data) {
                        console.log(data);
                        if (data.status == 0) {//口令正确则需要验证金额
                            //判断是否达到进入资格
                            if ((data['data'].low_yb != 0 || data['data'].max_yb != 0) && (parseFloat(money) < parseFloat(data['data'].low_yb) || parseFloat(money) >= parseFloat(data['data'].max_yb))) {
                                $(".popup").css("display", "none");
                                    fnSet.alert(data['data'].lack_tips);
                            } else if("王者游客521645" == ""){
                                $(".popup").css("display", "none");
                                fnSet.alert("请前往设置昵称");
                            } else {
                                //window.location.href = "https://www-pc77.com/?m=web&c=chatRoom&a=index&room_id=" + data.data.id + "&lottery_type=" + lottery_type;
                                window.location.href = "https://www-pc77.com/?m=web&c=chatRoom&a=index&room_id=" + data.data.id ;
                            }
                        } else {
                            layer.open({
                                content: data.ret_msg,
                                skin: 'msg',
                                time: 2 //2秒后自动关闭
                            });
                        }
                    },
                    error: function(error) {
                        layer.open({
                            content: '服务器出错了',
                            skin: 'msg',
                            time: 2 //2秒后自动关闭
                        });
                    }
                });
            });



        });
    </script>
</body>
</html>